package org.dromara.Nyt7Claim.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.Nyt7Claim.domain.Nyt7Claim;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 保险理赔业务对象 nyt_7_claim
 *
 * @author yt
 * @date 2024-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Nyt7Claim.class, reverseConvertGenerate = false)
public class Nyt7ClaimChartBo extends BaseEntity {


    /**
     * 保险公司id
     */
    @NotNull(message = "保险公司不能为空", groups = { AddGroup.class, EditGroup.class })
    private String companyName;

    /**
     * 区域
     */
    @NotBlank(message = "区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private String region;

    /**
     * 险种
     */
    @NotBlank(message = "险种不能为空", groups = { AddGroup.class, EditGroup.class })
    private String insuranceType;

}
